﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonAdmin.Util
{
    public class Constants
    {
        /// <summary>
        /// 时间格式化格式
        /// </summary>
        public const string Format_DateTime = "yyyy-MM-dd HH:mm:ss";
        public const string Format_Time = "HH:mm:ss";
        /// <summary>
        /// 验证码长度
        /// </summary>
        public const int CodeLenth = 4;
        
        /// <summary>
        /// 默认密码
        /// </summary>
        public const string DefaultPassword = "123456";
		/// <summary>
		/// session关键字：验证码
		/// </summary>
		public const string Session_Key_Code = "CODE";
		/// <summary>
		/// session关键字：用户名
		/// </summary>
		public const string Session_Key_UserName = "USERNAME";
		/// <summary>
		/// session关键字：用户Id
		/// </summary>
		public const string Session_Key_UserId = "USERID";
		/// <summary>
		/// 内置Id
		/// </summary>
		public const string SystemId = "-1";

	}
}
